package com.globallogic.javatrainings.sergiiivanov.model;

/**
 * Minor failures and user input errors are communicated via throwing of
 * <b>UniversityWarning</b><br>
 * In all cases this exception should be caught and corresponding reaction
 * communicated back to user
 * 
 * @author Sergey
 * 
 */
public class UniversityWarning extends UniversityException {
    private static final long serialVersionUID = 1L;

    /**
     * <i>Minor failures and user input errors are communicated via throwing of
     * <b>UniversityWarning</b><br>
     * In all cases this exception should be caught and corresponding reaction
     * communicated back to user</i> logs problem with provided message
     * 
     * @param message
     *            problem description
     */
    public UniversityWarning(String message) {
        super(message);
    }

    /**
     * <i>Minor failures and user input errors are communicated via throwing of
     * <b>UniversityWarning</b><br>
     * In all cases this exception should be caught and corresponding reaction
     * communicated back to user</i> logs problem
     */
    public UniversityWarning() {
        super();
    }
}
